* {
    margin: 0;
    padding: 0;
}
html,body{
    width: 100%;
    height: 100%;
}

body{
    background: url(/assets/images/login_bg.jpg) no-repeat;
    background-size: cover;
    overflow: hidden;
} 
.logo {
    padding: 20px 120px;
}

.login,.register{
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
/* 注册默认隐藏 */
.register {
    display: none;
}
.title {
    margin: 20px auto;
    text-align: center;
}
/* 表单区 */
.layui-form{
    padding: 0 30px;
}
.layui-form a {
    float: right;
}
/* 字体图标调整 */
.layui-form-item{
    position: relative;
}
.layui-icon{
    position: absolute;
    top: 12px;
    left: 8px;
}
.layui-input{
    padding-left: 30px;
}